<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Manage Variations</title>
<%@ include file="commonref.jsp"%>
</head>
<body>
	<%@ include file="common-links.jsp"%>
	<div id="page-root">
		<form id="var-form" method="post" action="/admin/variation/save">
			<fieldset style="width: 500px;">
				<legend>Add new Variation</legend>
				<div>
					<div>
						<input type="hidden" id="var-id" name="var-id" />
					</div>
					<div>
						<label>Category:</label><select name="category-list"
							id="category-list"></select>
					</div>
					<div>
						<label>Parent:</label><select name="var-list" id="var-list"></select>
					</div>
					<div>
						<label>Name:</label><input name="var-name" id="var-name"
							type="text" maxlength=50 class="required" />
					</div>
					<div>
						<label>Description:</label><input name="var-desc" id="var-desc"
							type="text" maxlength=100 class="optional" />
					</div>
					<div>
						<button id="reset-var-button" value="Reset" type="reset">Reset</button>
						<button id="save-var-button" value="Submit" type="button">Submit</button>
					</div>
				</div>
			</fieldset>
		</form>
		<table id="var-table-template" border=0 cellpadding="6"
			cellspacing="0" class="template">
			<tr>
				<th>Id</th>
				<th>Name</th>
				<th>Description</th>
				<th>Category</th>
				<th>Parent</th>
				<th>Action</th>
			</tr>
			<tr class="var-row hide">
				<td>1</td>
				<td>2</td>
				<td>3</td>
				<td>4</td>
				<td>5</td>
				<td><a href="#" title="edit">Edit</a> <a href="#"
					title="deactivate">Deactivate</a></td>
			</tr>
		</table>
	</div>
	<script type="text/javascript"
		src="/content/scripts/admin/variation.js">
		
	</script>
</body>
</html>